package net.pet.dto.admin;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class AdminUser implements Serializable{
	private static final long serialVersionUID = 5125881937241388550L;
	private Integer adminId;
	private String adminName;
	private String password;
	private Integer adminStatus;
	//顶级菜单
	private List<Resource> menuList;
	//非顶级菜单
	private Map<Integer,List<Resource>> subMenu;
	private List<Resource> resourceList;
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append(" adminId="+getAdminId());
		sb.append(" adminName="+adminName);
		sb.append("\n password="+password);
		sb.append("\n adminStatus="+getAdminStatus());
		return sb.toString();
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAdminName() {
		return adminName;
	}
	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}
	public List<Resource> getMenuList() {
		return menuList;
	}
	public void setMenuList(List<Resource> menuList) {
		this.menuList = menuList;
	}
	public List<Resource> getResourceList() {
		return resourceList;
	}
	public void setResourceList(List<Resource> resourceList) {
		this.resourceList = resourceList;
	}
	public Integer getAdminId() {
		return adminId;
	}
	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}
	public Integer getAdminStatus() {
		return adminStatus;
	}
	public void setAdminStatus(Integer adminStatus) {
		this.adminStatus = adminStatus;
	}
	public Map<Integer,List<Resource>> getSubMenu() {
		return subMenu;
	}
	public void setSubMenu(Map<Integer,List<Resource>> subMenu) {
		this.subMenu = subMenu;
	}
	
}
